html, body{
	margin: 0 auto;
	background: #D1D1D1;
	height: 100%;
}

/*login form*/
#login_form{
	position: fixed;
	background: rgba(255, 255, 255, 0.9);
	display: none;
	width: 30%; height: 30%;
	left: 35%;
	top: 20%;
	border-radius: 10px;
	z-index: 100;
}

/*contains navigation and top login button*/
#navbar{
	margin: 0 auto;
	position: fixed;
	top: 15px;
	width: 100%;
	z-index: 2;
}

#navbar a{
	color: #354164;
	text-decoration: none;
	-webkit-transition: color .2s ease;
	-moz-transition: color .2s ease;
	-o-transition: color .2s ease;
	transition: color .2s ease;
}

#navbar a:hover{
	color: orange;
}
		/*top login button*/
		#login_link{
			display: none;
			float: left;
			margin-left: 30px;
		}
		
		/*shows when logged in*/
		#logged_in{
			float: left;
			margin-left: 30px;
			display: none;
		}
		
		/*navigation links*/
		#nav{
			float: right;
			margin-right: 30px;
			margin-top: 0;
		}
		
		#nav ul{
			list-style-type: none;
		}
		
		#nav li{
			display: inline;
			margin-right: 10px;
		}
		

/*main bg fullscreen image*/
#main{
	position: absolute; 
	height: 100%;
	width: 100%;
	top: 0; left: 0;
	background: url(../img/loginbg.jpg);
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	margin-bottom: 20%;
	
}

#logo{
	position: absolute;
	top: 2%;
	left: 50%;
	margin-left: -48px;
}

#header{
	position: absolute;
	text-align: center;
	display: block;
	top: 18%;
	left: 50%;
	margin-left: -97px;
	color: #354164;
	padding-top: 5px;
}

#reg-container{
	position: absolute;
	width: 380px;
	height: 439px;
	background: rgba(255, 255, 255, 0.58);
	-webkit-box-shadow: 0 5px 15px 1px rgba(0,0,0,.5);
	box-shadow: 0 5px 15px 1px rgba(0,0,0,.5);
	top: 25%;
	left: 50%;
	margin-left: -196px;
}

#registration{
	position: absolute;
	width: 28.75%;
	left: 50%;
	margin-left: -160px;
	top: 7%;
}

.inputstyle{
	margin: 10px;
	width: 300px;
	height: 35px;
	border: 0px solid;
	-webkit-box-shadow:inset 0 0 11px 0 rgba(0, 0, 0, 0.87);
	box-shadow:inset 0 0 11px 0 rgba(0, 0, 0, 0.87);
	text-align: center;
}

.button{
	background-color: #354164;
	width: 300px;
	border: 0px solid;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
	-webkit-transition: background .15s ease;
	-moz-transition: background .15s ease;
	transition: background .15s ease;
	color: #ffffff;
	padding: 10px;
	text-decoration: none;
	margin: 10px;
}

.button:hover {
	background-color: #5d6887;
}

#alreadyreg{
	width: 300px;
	color: #000;
	text-decoration: none;
	margin: -5px 10px 10px 10px;
	display: block;
}

#alreadyreg a{
	text-decoration: underline;
	color: #000;
}

#alreadyreg a:hover{
	color: #e48343;
}